package com.financing.wap.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.financing.wap.dao.IProductOrderDataDao;
import com.financing.wap.dto.FpOrderPhoDTO;
import com.financing.wap.dto.ProductOrderDataDTO;
import com.financing.wap.service.IProductOrderDataService;
@Service("productOrderDataService")
@Transactional
public class ProductOrderDataServiceImpl implements IProductOrderDataService {

	@Autowired
	private IProductOrderDataDao productOrderDataDao;
	@Override
	public List<FpOrderPhoDTO> findProductOrderPhos(FpOrderPhoDTO fpd) {
		return productOrderDataDao.findProductOrderPhos(fpd);
	}
	@Override
	public List<ProductOrderDataDTO> findAllProductOrderPho(ProductOrderDataDTO fpd) {
		
		return productOrderDataDao.findAllProductOrderPho(fpd);
	}
  
}
